<?php 


if ( !defined('INSIDE') )
{
	die("Hacking attempt");
}
	


header("Live Planet");

error_reporting  (E_ERROR | E_WARNING | E_PARSE); // Para evitar que se reporten las variables no iniciadas
set_magic_quotes_runtime(0); // Deshabilita magic_quotes_runtime

extract($_POST,EXTR_SKIP);
extract($_GET,EXTR_SKIP);
extract($_COOKIE,EXTR_SKIP);


if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
	$HTTP_ACCEPT_LANGUAGE = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'],0,2);
}else{
	$HTTP_ACCEPT_LANGUAGE = "es";
}//default language}
if(is_dir("language/".$HTTP_ACCEPT_LANGUAGE.'/')){
	define('DEFAULT_LANG',$HTTP_ACCEPT_LANGUAGE);
}else{
	define('DEFAULT_LANG','es');
}


include('includes/functions.'.$phpEx);
include('includes/vars.'.$phpEx);
include('includes/db.'.$phpEx);
?>
